package com.ssy.lingxi.contract.model.vo.manage.response;

import java.io.Serializable;

/**
 * 查询完成合同列表时返回的VO
 * @author 伍将
 * @date 2021/3/11
 * @version 2.0.0
 */
public class ContractCompleteQueryVO implements Serializable {
    private static final long serialVersionUID = -815979123333163828L;

    /**
     * 合同id
     */
    private Long id;

    /**
     * 合同编号
     */
    private String contractNo;

    /**
     * 合同摘要
     */
    private String contractAbstract;

    /**
     * 合同生效时间
     */
    private String startTime;

    /**
     * 合同失效时间
     */
    private String endTime;

    /**
     * 合同乙方
     */
    private String partyBName;
    /**
     * 乙方会员id
     */
    private Long partyBMemberId;

    /**
     * 乙甲方角色id
     */
    private Long partyBRoleId;

    /**
     * 合同总金额
     */
    private Double totalAmount;
    /**
     * 合同剩余金额（=合同总金额-合同相关采购单累计金额[不含取消的]）
     */
    private Double freeAmount;

    /**
     * 寻源类型：1.采购询价,2.采购招标
     */
    private Integer sourceType;

    /**
     * 寻源类型名称
     */
    private String sourceTypeName;

    /**
     * 对应单据id
     */
    private Long sourceId;

    /**
     * 对应单据编号
     */
    private String sourceNo;
    /**
     *采购类型:1.单词采购 2.协议采购
     */
    private Integer purchaseType;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getContractNo() {
        return contractNo;
    }

    public void setContractNo(String contractNo) {
        this.contractNo = contractNo;
    }

    public String getContractAbstract() {
        return contractAbstract;
    }

    public void setContractAbstract(String contractAbstract) {
        this.contractAbstract = contractAbstract;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public String getPartyBName() {
        return partyBName;
    }

    public void setPartyBName(String partyBName) {
        this.partyBName = partyBName;
    }

    public Long getPartyBMemberId() {
        return partyBMemberId;
    }

    public void setPartyBMemberId(Long partyBMemberId) {
        this.partyBMemberId = partyBMemberId;
    }

    public Long getPartyBRoleId() {
        return partyBRoleId;
    }

    public void setPartyBRoleId(Long partyBRoleId) {
        this.partyBRoleId = partyBRoleId;
    }

    public Double getTotalAmount() {
        return totalAmount;
    }

    public void setTotalAmount(Double totalAmount) {
        this.totalAmount = totalAmount;
    }

    public Double getFreeAmount() {
        return freeAmount;
    }

    public void setFreeAmount(Double freeAmount) {
        this.freeAmount = freeAmount;
    }

    public Integer getSourceType() {
        return sourceType;
    }

    public void setSourceType(Integer sourceType) {
        this.sourceType = sourceType;
    }

    public String getSourceTypeName() {
        return sourceTypeName;
    }

    public void setSourceTypeName(String sourceTypeName) {
        this.sourceTypeName = sourceTypeName;
    }

    public Long getSourceId() {
        return sourceId;
    }

    public void setSourceId(Long sourceId) {
        this.sourceId = sourceId;
    }

    public String getSourceNo() {
        return sourceNo;
    }

    public void setSourceNo(String sourceNo) {
        this.sourceNo = sourceNo;
    }

    public Integer getPurchaseType() {
        return purchaseType;
    }

    public void setPurchaseType(Integer purchaseType) {
        this.purchaseType = purchaseType;
    }
}
